package com.nopay.dxdwphone.bean.request;

import java.util.List;

import com.nopay.dxdwphone.CallGroupEnum;

/**
 * @ProjectName: myVisualPhone
 * @Package: cn.cn.myvisualphone.bean.request
 * @ClassName: SaveCallTaskRequest
 * @Description: java类作用描述
 * @Author: anqi
 * @CreateDate: 2021/5/27 6:35
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/5/27 6:35
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class SaveCallTaskRequest {

    private String phone;
    private String taskName;
    private Integer taskId;
    private Integer type;
    private List<Data> personnelInfoSaveReqVOs;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<Data> getPersonnelInfoSaveReqVOs() {
        return personnelInfoSaveReqVOs;
    }

    public void setPersonnelInfoSaveReqVOs(List<Data> personnelInfoSaveReqVOs) {
        this.personnelInfoSaveReqVOs = personnelInfoSaveReqVOs;
    }

    public void setImportGroup(CallGroupEnum group) {
        this.taskId = group.getGroupId();
        this.taskName = group.getGroupName();
        this.type = group.getGroupType();
    }

    public static class Data {

        private String city;
        private String company;
        private String name ;
        private String phone;
        private String province;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }
    }
}
